package com.zou.mall.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zou.common.utils.PageUtils;
import com.zou.mall.order.entity.OrderEntity;
import com.zou.mall.order.vo.SubmitOrderVO;

import java.util.Map;

/**
 * 订单
 *
 * @author lingjin.zou
 * @email leonard_zou@163.com
 * @date 2022-02-14 14:17:25
 */
public interface OrderService extends IService<OrderEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void closeOrder(OrderEntity orderEntity);

    //提交订单
    void submitOrder(SubmitOrderVO submitOrderVO);

    //确认订单
    SubmitOrderVO confirmOrder();

}

